package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: yiang
 * @Date:  2025/10/9 10:43
 * @Description: 
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_menu")
public class Menu implements Serializable {
    @TableId(value = "menu_id", type = IdType.AUTO)
    private Integer menuId;

    /**
     * 菜单名称
     */
    @TableField(value = "menu_name")
    private String menuName;

    /**
     * 父节点id
     */
    @TableField(value = "menu_pid")
    private Integer menuPid;

    /**
     * 路径
     */
    @TableField(value = "menu_path")
    private String menuPath;

    private static final long serialVersionUID = 1L;

    public static final String COL_MENU_ID = "menu_id";

    public static final String COL_MENU_NAME = "menu_name";

    public static final String COL_MENU_PID = "menu_pid";

    public static final String COL_MENU_PATH = "menu_path";
}